package com.supermarket.mapper;

import com.supermarket.entity.Admin;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface AdminMapper {
    /**
     * 登录查询
     * @param username
     * @param password
     * @return
     */
    Admin login(@Param("name") String username, @Param("password") String password);
}
